home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / lisp / kcl / abcl / makefile.txt < prev    next >
Makefile  |  1992-08-03  |  927b  |  35 lines

  1. # Specify your environment by changing following entries.
  2.  
  3. # underlying Lisp program name
  4. LISP    = kcl
  5.  
  6. # installation target directory
  7. BIN    = /usr/local/bin
  8.  
  9. # A change of the next entry must be reflected on the definition for
  10. # the variable "*R2SYS-DUMP-PATHNAME*" in src/defabclr2.lsp.
  11. IMAGE    = saved_abclr2        # name of dumped image file
  12.  
  13. SRCDIR    = src            # source directory
  14. ABCLR2    = $(BIN)/abclr2        # name of shell script
  15.  
  16. all:
  17.     (cd $(SRCDIR);     $(LISP) < make-abclr2.lsp)
  18.  
  19. # installation ABCL/R2 on KCl
  20. install-kcl:    $(SRCDIR)/$(IMAGE)
  21.     mv $(SRCDIR)/$(IMAGE) $(BIN)
  22.     echo '#!/bin/sh' > $(ABCLR2)
  23.     echo '$(BIN)/$(IMAGE) $(BIN)' >> $(ABCLR2)
  24.     chmod +x $(ABCLR2)
  25.  
  26. # installation ABCL/R2 on CMU-CL
  27. install-cmu:    $(SRCDIR)/$(IMAGE)
  28.     mv $(SRCDIR)/saved_abclr2 $(BIN)
  29.     echo '#!/bin/sh' > $(ABCLR2)
  30.     echo 'lisp -core $(BIN)/$(IMAGE)' >> $(ABCLR2)
  31.     chmod +x $(ABCLR2)
  32.  
  33. clean:
  34.     -/bin/rm $(SRCDIR)/*.o $(SRCDIR)/*.sparcf $(SRCDIR)/saved_abclr2
  35.